<include file="public@head_top"/>
<include file="public@member_top"/>
</head>
<body class="bgeee">
<include file="public@head"/>

<div class="wrap clearfloat tc-main">
	<div class="row">
    
        <div class="col-lg-3 leftnav">
            <include file="public@usernav" />
        </div>
        
		<div class="col-lg-9 rightmain">

                <div class="card-header usertitle">
                    <ul class="nav nav-tabs card-header-tabs">
                      <li class="nav-item">
                        <a class="nav-link active" href="#one" data-toggle="tab"><i class="fa fa-comments-o"></i> 我的评论</a>
                      </li>
                    </ul>
                  </div>
                  
                <div class="tab-content usercontent st-tableStyleBlock">
                    <div class="tab-pane active" id="one">
                        
                        <div class="st-x-tablerespon">
                        <table class="table table-bordered table-striped table-hover st-tablelist2">
                            <thead>
                            <tr>
                                <th>评论内容</th>
                                <th width="200">评论时间</th>
                                <th width="150">操作</th>
                            </tr>
                            </thead>
                            <tbody>
                            <foreach name="comments" item="vo">
                                <tr>
                                    <td class="st-listbox2">{$vo.content}</td>
                                    <td class="xm-status-text-gray">{$vo.create_time|date='Y-m-d H:i:s',###}</td>
                                    <td class="st-boxcenter">
                                        <php>
                                            $url = json_decode($vo['url'],true);
                                        </php>
                                        <a class="listaco" href="{:cmf_url($url['action'],$url['param'])}#comment{$vo.id}">查看</a> |
                                        <a class="js-ajax-dialog-btn listaco2"
                                           href="{:url('user/comment/delete',array('id'=>$vo['id']))}"
                                           data-msg="您确定要删除评论吗？" data-ok="" data-cacel="取消">删除评论</a>
                                    </td>
                                </tr>
                            </foreach>
                            </tbody>
                        </table>
                        </div>
                        <ul class="pagination">{$page}</ul>
                        
                    </div>
                </div>
                
        </div>
        
    </div>
</div>
<!-- /container -->

<include file="public@footer"/>
<include file="public@member_scripts"/>
</body>    
</html>